/**
 * 
 */
package com.easidea.tim.dao.inventory;

import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springside.core.dao.extend.HibernateEntityExtendDao;

import com.easidea.tim.entity.inventory.CheckInOut;

/**
 * @author Harrison
 *
 */
public class CheckInOutDao extends HibernateEntityExtendDao<CheckInOut> {

	public List<CheckInOut> getCheckInOutById(long orderId) {
		 Criteria ca = this.createUnDeletedCriteria();
		 ca.add(Restrictions.eq("id", orderId));
		 List result = ca.list();
		 return result;
	 }
}
